package com.atguigu.gulimall.product.feign;

import com.atguigu.common.to.SpuBoundTo;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @file:
 * @author: jialiangming
 * @date: Created in 2020/5/28 17:10
 * @version: V1.0
 * @copyright: Copyright(c) chinaunicom， All rights reserved.
 */
@FeignClient("gulimall-coupon")
public interface CouponFeignService {
    @PostMapping("/save")
    R saveSpuBounds(@RequestBody SpuBoundTo spuBoundTo);
}
